<?php
namespace Home\Controller;
use Think\Controller;
class RedController extends BaseController {
	public function __construct(){
		parent::__construct();
	}
	
    public function index(){
        $oid = $_GET['oid'];
        $this->assign('oid',$oid);
        $this->display();
    }

    public function success(){
        if(isset($_GET['oid'])){
            $oid = $_GET['oid'];
            $arr = $this->sOrder($oid); //调用查单接口
            echo '<pre>';
            print_r($arr);
        }
    }

}